package beanstao.util.type.base;

import java.util.Calendar;

import beanstao.util.Dates;
import beanstao.util.type.Castor;

public class Calendar2String extends Castor<Calendar, String>
{

	@Override
	public String cast(Calendar src, Class<?> toType, String... args)
	{
		return Dates.formatGeneral(src.getTime());
	}

}
